/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pkg23designpatterns.za.ac.cput.behavioural.Template;

/**
 *
 * @author Oceanwave
 */
public abstract class Meal 
{
    public final void doMeal()
    {
        prepareIngredients();
        cook();
        eat();
        cleanUp();
    }
    
    public abstract void prepareIngredients();
    public abstract void cook();
    public void eat()
    {
        System.out.println("mmm that's good");
    }
    
    public abstract void cleanUp();
    
}
